package com.jft.javalab.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @Description
 * @Author devin.jiao
 * @Date 2020/9/11 14:51
 * @Since 1.0.0
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class Soldier extends Person{
    private String soldierId;
    private String rankId;
    private String rankName;

    public Soldier(String soldierIdArg,String rankNameArg){
        soldierId=soldierIdArg;
        rankName=rankNameArg;
    }
}
